package com.ruoyi.swPro.swPro.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * sw产品对象 sw_pro
 * 
 * @author ruoyi
 * @date 2025-04-12
 */
public class SwPro extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    //模板文件名id
    private Long tempFileId;
    /** 产品分类 */
    private Long proCategoryId;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 产品 */
    private String product;

    /** 参数配置 */
    private String parameter;

    /** 相关图片 */
    private String img;

    /** 相关文档 */
    private String document;

    /** 状态 */
    @Excel(name = "状态")
    private String statue;

    /** sw产品和模板中间信息 */
    private List<SwProTemplatefile> swProTemplatefileList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setProCategoryId(Long proCategoryId) 
    {
        this.proCategoryId = proCategoryId;
    }

    public Long getProCategoryId() 
    {
        return proCategoryId;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setProduct(String product) 
    {
        this.product = product;
    }

    public String getProduct() 
    {
        return product;
    }

    public void setParameter(String parameter) 
    {
        this.parameter = parameter;
    }

    public String getParameter() 
    {
        return parameter;
    }

    public void setImg(String img) 
    {
        this.img = img;
    }

    public String getImg() 
    {
        return img;
    }

    public void setDocument(String document) 
    {
        this.document = document;
    }

    public String getDocument() 
    {
        return document;
    }

    public void setStatue(String statue) 
    {
        this.statue = statue;
    }

    public String getStatue() 
    {
        return statue;
    }

    public List<SwProTemplatefile> getSwProTemplatefileList()
    {
        return swProTemplatefileList;
    }

    public void setSwProTemplatefileList(List<SwProTemplatefile> swProTemplatefileList)
    {
        this.swProTemplatefileList = swProTemplatefileList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("proCategoryId", getProCategoryId())
            .append("name", getName())
            .append("product", getProduct())
            .append("parameter", getParameter())
            .append("img", getImg())
            .append("remark", getRemark())
            .append("document", getDocument())
            .append("statue", getStatue())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("swProTemplatefileList", getSwProTemplatefileList())
            .toString();
    }

    public Long getTempFileId() {
        return tempFileId;
    }

    public void setTempFileId(Long tempFileId) {
        this.tempFileId = tempFileId;
    }
}
